< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/01020500.xhp

(section: biblio)

Libraries, Modules and Dialogs
ライブラリ、モジュール、ダイアログ(hd_id3147317.1)

The following describes the basic use of libraries, modules and dialogs in Office Basic.
ここでは Office Basic での、ライブラリ、モジュール、ダイアログの基本的な使用法について解説します。(par_id3147427.2)

(/section: biblio)

Office Basic provides tools to help you structuring your projects. It supports various "units" which enable you to group individual SUBS and FUNCTIONS in a Basic project.
Office Basic には、ユーザーによるプロジェクト構築をサポートするためのツールが用意されています。これは、Basic プロジェクトで使用する SUB や FUNCTION を個別にグループ化して、各種の「ユニット」として扱うという機能です。(par_id3146120.3)

Libraries
ライブラリ(hd_id3148575.5)

Libraries serve as a tool for organizing modules, and can either be attached to a document or a template. When the document or a template is saved, all modules contained in the library are automatically saved as well.
ライブラリは、モジュールを分類して管理するためのツールで、ドキュメントやテンプレートに添付することができます。これらのドキュメントやテンプレートを保存すると、ライブラリに収めたモジュールもすべて自動的に保存されます。(par_id3150011.6)

A library can contain up to 16,000 modules.
各ライブラリには、最大 16,000 個のモジュールを収めることができます。(par_id3151112.7)

Modules
モジュール(hd_id3149262.8)

A module contains SUBS and FUNCTIONS along with variable declarations. The length of the program that can be saved in a module is limited to 64 KB. If more space is required you can divide a Office Basic project among several modules, and then save them in a single library.
各モジュールに収められる SUB や FUNCTION のブロックには、変数宣言部なども記録されます。 1 つのモジュールに記録できるプログラムのサイズには、最大 64 KB までという制限があります。 このサイズを超えるプログラムを扱う場合は、Office Basic プロジェクトを複数のモジュールに分割して、1 つのライブラリ中に保存するようにしてください。(par_id3156441.9)

Dialog Modules
ダイアログモジュール(hd_id3152577.11)

Dialog modules contain dialog definitions, including the dialog box properties, the properties of each dialog element and the events assigned. Since a dialog module can only contain a single dialog, they are often referred to as "dialogs".
ダイアログモジュールとは、1 つのダイアログボックスの構造、ダイアログを構成する各要素のプロパティー、SUB ブロックに割り当てるイベントなどを、単一のモジュールとして格納したものです。これらのダイアログモジュールは、それぞれ 1 個分のダイアログ情報だけを格納できるため、簡単に「ダイアログ」と呼ばれることもあります。(par_id3149377.12)


< Prev / Next >